package com.cuotigou.mapper;

import com.cuotigou.pojo.SMethod;

import java.util.List;
import java.util.Map;

public interface SMethodMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SMethod record);

    int insertSelective(SMethod record);

    SMethod selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SMethod record);

    int updateByPrimaryKey(SMethod record);
    //学习方法查询
    List<SMethod> selectMethodListByUserId(Map<String,Object> map);
    //收藏的学习方法
    List<SMethod> selectMethodCollection(Long userId);
}